<link href="${rc.getContextPath()}/manage/css/dwzCustomCss/dwz.custom.css?v=${ver}" rel="stylesheet" type="text/css">
<#include "/common/pagerForm.html">

<form rel="pagerForm" method="post" action="${rc.getContextPath()}/manage/operation/operationLookUp?lookupType=radio" onsubmit="return dwzSearch(this, 'dialog');">
    <input type="hidden" name="operationTypeEcode" value="${condition.operationTypeEcode!''}"/>
    <div class="pageHeader">
        <div class="searchBar" >
         <div style="float:left; height: 26px; width: 300px; " >
            <label  style="width:68px;"  id="operationCode"><@label key="operationCode.C,colon">工序编号：</@label></label> <input type="text" class="textInput" name="operationCode" value="${condition.operationCode!''}" />
        </div>
        <div style=" float:left;height: 26px; width: 300px;" >
            <label  style="width:68px;"id="operationText"><@label key="operationText.C,colon">工序描述：</@label></label> <input type="text" class="textInput" name="operationText" value="${condition.operationText!''}" />
        </div>            
        <div class="buttonActive">
            <div class="buttonContent">
                <button type="submit"><@label key="query.B">查询</@label></button>
            </div>
        </div>
        </div>
    </div>
</form>
<div class="pageContent">
    <table class="table" width="100%" targetType='dialog' layoutH="144" style="overflow:scroll;">
        <thead>
            <tr>
                <th width="100" orderField="operationCode"<#if (page.orderField?? && page.orderField == 'operationCode')>class="${page.orderDirection!''}"</#if>><@label key="operationCode.C">资源编号</@label></th>
                <th width="100" orderField="operationText"<#if (page.orderField?? && page.orderField == 'operationText')>class="${page.orderDirection!''}"</#if>><@label key="operationText.C">资源描述</@label></th>
                <th width="100" orderField="operationTypeEcode"<#if (page.orderField?? && page.orderField == 'operationTypeEcode')>class="${page.orderDirection!''}"</#if>><@label key="operationType.C">工序类型</@label></th>
                <th width="100" orderField="standardCapacity"<#if (page.orderField?? && page.orderField == 'standardCapacity')>class="${page.orderDirection!''}"</#if>><@label key="standardCapacity.C,colon">标准产能</@label></th>
                <th width="100" orderField="standardHours"<#if (page.orderField?? && page.orderField == 'standardHours')>class="${page.orderDirection!''}"</#if>><@label key="standardHours.C,colon">标准用时</@label></th>
                <th width="80"><@label key="selected_first.C">请选择</@label></th>
            </tr>
        </thead>
        <tbody>
            <#if page??><#if (page.data?size>0)> <#list page.data as operation>
            <tr target="operation_code" rel="${operation.operationCode!''}">
                <td>${operation.operationCode!''}</td>
                <td>${operation.operationText!''}</td>
                <td>${operation.operationTypeText!''}</td>
                <td>${operation.standardCapacity!''}</td>
                <td>${operation.standardHours!''}</td>
                <td><a class="btnSelect bringBack" value="{operationCode:'${operation.operationCode!''}', 
                operationText:'<@json_escape>${operation.operationText!''}</@json_escape>', 
                operationTypeEcode: '${operation.operationTypeEcode!''}', 
                operationTypeText: '<@json_escape>${operation.operationTypeText!''}</@json_escape>',
                standardCapacity: '${operation.standardCapacity!''}',
                standardHours: '${operation.standardHours!''}'}"
                 title="<@label key="selected_first.C">请选择</@label>">选择</a></td>        
            </tr>
            </#list> <#else>
            <tr target="operation_code">
                <td colspan="3" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</font>
                </td>
            </tr>
            </#if> <#else>
            <tr target="operation_code">
                <td colspan="3" class="noData">======<@label key="noListData.C">列表无数据</@label>=====</font>
                </td>
            </tr>
            </#if>
        </tbody>
    </table>
    <#include "/common/dialogPanelBar.html">
</div>